package com.excel;

import java.util.HashMap;
import java.util.Map;

import com.excel.service.StudentService;
import com.excel.service.StudentServiceImpl;
import com.excel.student.Student;

public class Test {
	public static void main(String[] args) {
		System.out.println(Utils.studentMap);
		StudentService service = StudentServiceImpl.getInstance();
		Student stu = new Student();
		
		stu.setId(3);
		stu.setName("test");
		stu.setCla("三版");
		service.addStudent(stu);
		System.out.println(Utils.studentMap);
		service.deleteStudent(2);
		System.out.println(Utils.studentMap);
		
		stu.setName("woca");
		
		service.updateStudent(stu);
		
 	}
}
